#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>
#include<math.h>
int main()
{
    double p = 3.14;
    double r = 0;
    scanf("%lf", &r);
    printf("%.2f\n", p * pow(r, 2));

    return 0;
}